package com.site.wisdom_construction.entity.scheduleModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-16 
 */
@ApiModel (value ="项目进度计划表实体类",description = "ProjectProgressPlan")
public class ProjectProgressPlan {
	/**
	 * 项目进度计划表id
	 */
   	@ApiModelProperty(value = "项目进度计划表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 编制计划Id
	 */
	@ApiModelProperty(value = "编制计划Id", name = "progressPlanId")
	private Integer progressPlanId;

	/**
	 * 编制计划名称
	 */
	@ApiModelProperty(value = "编制计划名称", name = "progressPlanName")
	private String progressPlanName;

	/**
	 * 项目进度名称
	 */
   	@ApiModelProperty(value = "项目进度名称", name = "projectProgressName")
	private String projectProgressName;

	/**
	 * 进度计划开始时间
	 */
   	@ApiModelProperty(value = "进度计划开始时间", name = "projectStartTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date projectStartTime;

	/**
	 * 开始天数
	 */
   	@ApiModelProperty(value = "开始天数", name = "projectStartDay")
	private Integer projectStartDay;

	/**
	 * 进度计划结束时间
	 */
   	@ApiModelProperty(value = "进度计划结束时间", name = "projectEndTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date projectEndTime;

	/**
	 * 结束天数
	 */
   	@ApiModelProperty(value = "结束天数", name = "projectEndDay")
	private Integer projectEndDay;

	/**
	 * 项目计划施工天数
	 */
   	@ApiModelProperty(value = "项目计划施工天数", name = "projectDuration")
	private Integer projectDuration;

	/**
	 * 项目实际施工天数
	 */
   	@ApiModelProperty(value = "项目实际施工天数", name = "projectPractical")
	private Integer projectPractical;

	/**
	 * 项目实际开始时间
	 */
	@ApiModelProperty(value = "项目实际开始时间", name = "projectActualStart")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date projectActualStart;

	/**
	 * 项目实际结束时间
	 */
   	@ApiModelProperty(value = "项目实际结束时间", name = "projectPracticalTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date projectPracticalTime;

	/**
	 * 父ID
	 */
	@ApiModelProperty(value = "父ID", name = "fatherId")
	private Integer fatherId;

	/**
	 * 等级
	 */
	@ApiModelProperty(value = "等级", name = "leave")
	private Integer leave;

	/**
	 * 是否有子类
	 */
	@ApiModelProperty(value = "是否有子类", name = "isparent")
	private String isparent;

	/**
	 * 状态(1:可调整 0:不可调整)
	 */
   	@ApiModelProperty(value = "状态(1:可调整 0:不可调整)", name = "status")
	private String status;

	public ProjectProgressPlan(){ super(); }

	public ProjectProgressPlan(Integer id, Integer projectId, Integer progressPlanId, String progressPlanName, String projectProgressName, Date projectStartTime, Integer projectStartDay, Date projectEndTime, Integer projectEndDay, Integer projectDuration, Integer projectPractical, Date projectActualStart, Date projectPracticalTime, Integer fatherId, Integer leave, String isparent, String status) {
		this.id = id;
		this.projectId = projectId;
		this.progressPlanId = progressPlanId;
		this.progressPlanName = progressPlanName;
		this.projectProgressName = projectProgressName;
		this.projectStartTime = projectStartTime;
		this.projectStartDay = projectStartDay;
		this.projectEndTime = projectEndTime;
		this.projectEndDay = projectEndDay;
		this.projectDuration = projectDuration;
		this.projectPractical = projectPractical;
		this.projectActualStart = projectActualStart;
		this.projectPracticalTime = projectPracticalTime;
		this.fatherId = fatherId;
		this.leave = leave;
		this.isparent = isparent;
		this.status = status;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getProjectProgressName() {
		return this.projectProgressName;
	}

	public void setProjectProgressName(String projectProgressName) {
		this.projectProgressName = projectProgressName;
	}

	public Date getProjectStartTime() {
		return this.projectStartTime;
	}

	public void setProjectStartTime(Date projectStartTime) {
		this.projectStartTime = projectStartTime;
	}

	public Integer getProjectStartDay() {
		return this.projectStartDay;
	}

	public void setProjectStartDay(Integer projectStartDay) {
		this.projectStartDay = projectStartDay;
	}

	public Date getProjectEndTime() {
		return this.projectEndTime;
	}

	public void setProjectEndTime(Date projectEndTime) {
		this.projectEndTime = projectEndTime;
	}

	public Integer getProjectEndDay() {
		return this.projectEndDay;
	}

	public void setProjectEndDay(Integer projectEndDay) {
		this.projectEndDay = projectEndDay;
	}

	public Integer getProjectDuration() {
		return this.projectDuration;
	}

	public void setProjectDuration(Integer projectDuration) {
		this.projectDuration = projectDuration;
	}

	public Integer getProjectPractical() {
		return this.projectPractical;
	}

	public void setProjectPractical(Integer projectPractical) {
		this.projectPractical = projectPractical;
	}

	public Date getProjectPracticalTime() {
		return this.projectPracticalTime;
	}

	public void setProjectPracticalTime(Date projectPracticalTime) {
		this.projectPracticalTime = projectPracticalTime;
	}

	public Integer getFatherId() {
		return fatherId;
	}

	public void setFatherId(Integer fatherId) {
		this.fatherId = fatherId;
	}

	public Integer getLeave() {
		return leave;
	}

	public void setLeave(Integer leave) {
		this.leave = leave;
	}

	public String getIsparent() {
		return isparent;
	}

	public void setIsparent(String isparent) {
		this.isparent = isparent;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getProjectActualStart() {
		return projectActualStart;
	}

	public void setProjectActualStart(Date projectActualStart) {
		this.projectActualStart = projectActualStart;
	}

	public Integer getProgressPlanId() {
		return progressPlanId;
	}

	public void setProgressPlanId(Integer progressPlanId) {
		this.progressPlanId = progressPlanId;
	}

	public String getProgressPlanName() {
		return progressPlanName;
	}

	public void setProgressPlanName(String progressPlanName) {
		this.progressPlanName = progressPlanName;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", progressPlanId=" + progressPlanId +
				", progressPlanName='" + progressPlanName + '\'' +
				", projectProgressName='" + projectProgressName + '\'' +
				", projectStartTime=" + projectStartTime +
				", projectStartDay=" + projectStartDay +
				", projectEndTime=" + projectEndTime +
				", projectEndDay=" + projectEndDay +
				", projectDuration=" + projectDuration +
				", projectPractical=" + projectPractical +
				", projectActualStart=" + projectActualStart +
				", projectPracticalTime=" + projectPracticalTime +
				", fatherId=" + fatherId +
				", leave=" + leave +
				", isparent='" + isparent + '\'' +
				", status='" + status + '\'' +
				'}';
	}
}
